import {createRouter,createWebHistory} from 'vue-router'
// @ts-ignore
import Login from "@/pages/Login.vue";
// @ts-ignore
import MainWindow from "@/pages/MainWindow.vue";
// @ts-ignore
import Signin from "@/pages/Signin.vue";

const router = createRouter({
    history:createWebHistory(),
    routes:[
        {
          path:'/',
          redirect:'/login',
        },
        {
            path:'/login',
            component:Login
        },
        {
            path:'/register',
            component: Signin
        },
        {
            path:'/mainwindow',
            component:MainWindow
        }
    ]
})
export default router;